
<%
	/**
	 商品缺货登记
	 **/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>商品缺货登记</title>
		<link rel="stylesheet" href="/safeai/css/safeai/customeViewStyle.css"
			type="text/css" />
		<link rel="stylesheet"
			href="/safeai/css/safeai/customeInfoListStyle.css" type="text/css" />

		<%@ include file="/pages/safeai/view/common/taglib.jsp"%>
	</head>
	<body>
		<%@ include file="/pages/safeai/view/common/head.jsp"%>
		<DIV class=block>

			<STYLE>
BODY {
	FONT-FAMILY: Arial, Helvetica, sans-serif;
	FONT-SIZE: 12px
}
</STYLE>
<script type="text/javascript">
 <!--
 	<logic:present name="messageBean">
		var strMsgInfo = '${messageBean.messageInfo }';
		if(strMsgInfo != ''){
			jQuery(document).ready(function(){
		 		MessageBox.show(strMsg,{delay:3});
			});
		}
	</logic:present>
	
	function deleteLackInfo(lkid){
		document.getElementById('operatorLackid').value=lkid;
		document.getElementById('operatorForm').submit();
	}
 -->
</script>

			<DIV style="MARGIN: auto; WIDTH: 950px">
				<DIV class=MemberCenter>
					<jsp:include page="/pages/safeai/membercenter/memberCenterHead.jsp">
						<jsp:param name="currentMenuChoice" value="lackgoods" />
					</jsp:include>
					<jsp:include page="/pages/safeai/membercenter/memberCenterLeft.jsp">
						<jsp:param name="currentMenuChoice" value="lackgoods" />
					</jsp:include>
					<!-- begin------------------------------------ -->
					<script language="javascript" type="text/javascript"
						src="${ctx}/script/Date/WdatePicker.js"></script>

					<DIV class=MemberMain>
						<DIV style="MARGIN-RIGHT: 175px">
							<DIV class=title>
								缺货登记
							</DIV>
							<form action="${ctx}/others/lackManage.do?"
												method="post" id="operatorForm">
							<input type="hidden" value="" name="lackId" id="operatorLackid">
							<input type="hidden" value="delete" name="method" >
							</form>

							<TABLE class="liststyle data GoodsSearchWrap " border=0
								cellSpacing=0 cellPadding=0 width="100%">
								<COLGROUP>
									<COL class="span-3 textleft"></COL>
									<COL class=textleft></COL>
									<COL class=span-3></COL>
								<TBODY>
									<tr>
										<td colspan="4">
										<form action="${ctx}/others/lackManage.do?"
												method="post" >
											<table>
												<td class="td_3">
													<font size="2">缺货日期范围：</font>
													<br>
												</td>
												<td colspan="2" class="td_02">
													<input class="Wdate" id="startDate"
														name="startDate" type="text"
														onfocus="new WdatePicker()" value="${startDate }"
														maxdate="#F{$('endDate').value}"
														onpicked="$('endDate').onfocus()" readonly="readonly" />
													&nbsp;&nbsp;--&nbsp;&nbsp;
													<input class="Wdate" id="endDate"
														name="endDate" type="text"
														onfocus="new WdatePicker()" value="${endDate }"
														MINDATE="#F{$('startDate').value}" readonly="readonly" />
													<br>
												</td>
												<td align="center" class="td_02">
													<input type="hidden" name="method" value="queryLack">
													<input type="submit" name="select" value="查询" class="btn" />
												</td>
												</tr>
											</table>
										</form>

										</td>
									<logic:iterate id="recommend" name="lackRange"  
									property="records" indexId="number">
									
										<TR>
											<TD class=textcenter>
												<A width=120 height=120 title="${recommend.lname}"
															href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.productId }"><IMG
																src="${ctx }/product_image/${recommend.productId}/${recommend.productId }_1_l_1_130X130.jpg">
														</A>
											</TD>
											<TD>
												<H3>
													<A href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.productId }" target=_blank>
													${recommend.lname}</A>
												<A href="#" onclick='deleteLackInfo("${recommend.id}")'>删除</A>&nbsp;&nbsp;
												<A href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.productId }" >查看详情</A>
												</H3>
											</TD>
											<TD>
												缺货
											</TD>
											<TD>
												<UL>
													<LI>
														<SPAN class=price1>${recommend.showprice}</SPAN>
													</LI>
													<LI>
														市场价：
														<SPAN class=mktprice1>${recommend.price}</SPAN>
													</LI>
												</UL>
											</TD>
										</TR>
									</logic:iterate>
									<logic:notPresent name="lackRange" property="records" >
										<tr align="center">
											<TD align=middle  colspan="4">
													<SPAN class=point>尚无缺货登记信息.....</SPAN> &nbsp;
											</TD>
										</tr>
									</logic:notPresent>
								</TBODY>
							</TABLE>
						</DIV>
					</DIV>

					<!-- end---------------------------------- -->

				</DIV>
			</DIV>
		</DIV>


		<div class="clear"></div>
		<%@ include file="/pages/safeai/view/common/foot.jsp"%>
	</body>
</html>